#pragma once
#include "Scene.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;

#include "glm\glm.hpp"
using namespace glm;

class OBJLoader
{
public:
	OBJLoader(Scene *_s);
	~OBJLoader();

	//loads the OBJ object into the scene
	bool loadToScene(const char* _fin);

	Scene* scene(){	return theScene; }
	void scene(Scene *_s){ theScene = _s; }

	void setShader(ShaderCollection *_sh){ _curShade = _sh; }

private:
	Scene *theScene;
	vector<vec3> theVerts;
	void printVec3(vec3 _in);
	ShaderCollection *_curShade;
};

